﻿<Window x:Class="WithButtons.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="283" Width="378">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Border BorderBrush="Red" BorderThickness="3" Margin="5">
            <WrapPanel>
                <Button>Button</Button>
                <Button>Button</Button>
                <Button>Button</Button>
                <Button>Button</Button>
                <Button>Button</Button>
                <Button>Button</Button>
                <Button>Button</Button>
                <Button>Button</Button>
                <Button>Button</Button>
                <Button>Button</Button>
                <Button>Button</Button>
                <Button>Button</Button>
            </WrapPanel>
        </Border>
        <Border BorderBrush="Red" BorderThickness="3" Grid.Column="1" Margin="5">
            <Canvas>
                <Button Canvas.Top="5" Canvas.Left="3">I am a Button</Button>
                <Button Canvas.Top="20" Canvas.Left="20">I am a Button</Button>
            </Canvas>
        </Border>
        <Border BorderBrush="Red" BorderThickness="3" Grid.Row="1" Margin="5">
            <Canvas>
                <Button Canvas.Top="30" Canvas.Left="30">I am a Button</Button>
            </Canvas>
        </Border>
    </Grid>
</Window>
